package com.ctshk.rpc.goods.req.conmodity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 商品属性参数
 * </p>
 *
 * @author 姜斌文
 * @since 2021-04-13
 */
@Data
@ApiModel(value="CommodityAttributeReq对象", description="属性Add")
public class CommodityAttributeReq implements Serializable {
        private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "商品属性id")
        private Long id;

        @ApiModelProperty(value = "商品id")
        private Long commodityId;

        @ApiModelProperty(value = "规格类型：1：单规格；2：多规格")
        private Integer specificationsType;

        @ApiModelProperty(value = "分销佣金设置：	1：默认设置；2：单独设置")
        private Integer distributionCommissionSettings;

        @ApiModelProperty(value = "币种id")
        private Long currencyId;

        @ApiModelProperty(value = "币种名称")
        private String currencyName;

        @ApiModelProperty(value = "兑换率")
        private Double exchangeRate;
}
